import axios from 'axios';
// 登录
let login = (data) => axios.post('/login', data);
// 登录页面图片数据
let info = (params) => axios.get('/login/info', { params })
// 验证码
let captcha_pro = (params) => axios.get('/captcha_pro', { params })
// 管理员退出
let logout = (params) => axios.get('/setting/admin/logout', { params })
// 下载文件
let download = (params) => axios.get('/download', { params })
export default {
    login,
    info,
    captcha_pro,
    logout,
    download
}